﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace iLangl.Customer.DAL.XMLStorage
{
	public class XMLDALFacade : IDALFacade
	{
		#region IDALFacade Members

		private ICompanyDAL companyDAL = null;
		public ICompanyDAL CompanyDAL
		{
			get
			{

				if (companyDAL == null)
				{
					companyDAL = new CompanyDAL();
				}

				return companyDAL;
			}
		}


		private IProjectDAL projectDAL = null;
		public IProjectDAL ProjectDAL
		{
			get
			{
				if (projectDAL == null)
				{
					projectDAL = new ProjectDAL();
				}

				return projectDAL;
			}
		}



		private IWorkAreaDAL terminologyDAL = null;
		public IWorkAreaDAL WorkAreaDAL
		{
			get
			{
				if (terminologyDAL == null)
				{
					terminologyDAL = new WorkAreaDAL();
				}

				return terminologyDAL;
			}
		}

		private IProductDAL productDAL = null;
		public IProductDAL ProductDAL
		{
			get
			{
				if (productDAL == null)
				{
					productDAL = new ProductDAL();
				}

				return productDAL;
			}
		}



		private IContentDAL contentDAL = null;
		public IContentDAL ContentDAL
		{
			get 
			{
				if (contentDAL == null)
				{
					contentDAL = new ContentDAL();
				}

				return contentDAL;
			}
		}

		private ITranslationDAL translationDAL = null;
		public ITranslationDAL TranslationDAL
		{
			get 
			{
				if (translationDAL == null)
				{
					translationDAL = new TranslationDAL();
				}

				return translationDAL;
			}
		}

		private ISecurityDAL securityDAL = null;
		public ISecurityDAL SecurityDAL
		{
			get 
			{
				if (securityDAL == null)
				{
					securityDAL = new SecurityDAL();
				}

				return securityDAL;
			}
		}

		private IContactDAL contactDAL = null;
		public IContactDAL ContactDAL
		{
			get 
			{
				if (contactDAL == null)
				{
					contactDAL = new ContactDAL();
				}

				return contactDAL;
			}
		}

		private IConfigurationDAL configurationDAL = null;
		public IConfigurationDAL ConfigurationDAL
		{
			get 
			{
				if (configurationDAL == null)
				{
					configurationDAL = new ConfigurationDAL();
				}

				return configurationDAL;
			}
		}

		private ISettingsDAL settingsDAL = null;
		public ISettingsDAL SettingsDAL
		{
			get 
			{
				if (settingsDAL == null)
				{
					settingsDAL = new SettingsDAL();
				}

				return settingsDAL;
			}
		}


		private IAlertDAL alertDAL = null;
		public IAlertDAL AlertDAL
		{
			get 
			{
				if (alertDAL == null)
				{
					alertDAL = new AlertDAL();
				}

				return alertDAL;
			}
		}

		#endregion
	}
}